<!DOCTYPE >
<html lang="en">
<head>
   <meta charset="UTF-8">
   <title>地奥大闯关</title>
   <link rel="shortcut icon" href="__STATIC__/favicon.ico"/>
   <link href="__STATIC__/css/index/index.css" type="text/css" rel="stylesheet">
   <link href="__STATIC__/css/index/iconfont/iconfont.css" type="text/css" rel="stylesheet">
	 <script src="__STATIC__/layui/layui.all.js" type="application/javascript"></script>
	 <link href="__STATIC__/layui/css/layui.css" type="text/css" rel="stylesheet">
</head>
<body>
	<div class="banner-wrapper">
		<div class="logo">
			<img src="__STATIC__/img/logo.png">
			<div class="logo-word">
				<div>地奥大闯关</div>
				<div>King of answer</div>
			</div>
		</div>
		<div class="left-box">
			<a class="register" id="login-out" onclick="cl()" title="清除缓存">清除缓存</a>
			&nbsp;
			<a class="register" id="login-out" onclick="btn()" title="退出">退出</a>
		</div>
	</div>
</body>
<script src="__STATIC__/js/jquery-3.3.1.js" type="application/javascript"></script>
<script>
function btn(){
	$.get('{:url("index/logout")}',function(data){
		if(data==1){
			window.parent.location.href='{:url("login/index")}';
		}
	})
}
function cl(){
	$.get('{:url('index/clears')}',function(data){
		if(data == 1){
			layer.msg('清除成功');
		}else{
			layer.msg('清除失败');
		}
	})
}

</script>
</html>